//
//  ViewController.m
//  SuperGuess
//
//  Created by 李竞 on 16/1/26.
//  Copyright © 2016年 lionjing. All rights reserved.
//
/**
 *  项目分析 :
 1.大图,小图的切换:
 2.下一题: 
 3.备选按钮的点击,让文字进入答案区;
 4.判断胜负:
  胜利 : 进入下一题
  失败 : 提示用户重新选择
 5.答题按钮的点击:
  把答案区的文字恢复到备选区域
 收尾工作:图标和启动图片

 */

#import "ViewController.h"
#import "LJ_Question.h"


@interface ViewController ()

@property (weak, nonatomic) IBOutlet UIButton *icon_Image_Button;

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];

    
   }















/**
 *  因为自动布局添加了约束,所以这种动画不是很好用:
 */

//- (IBAction)bigImage:(UIButton *)sender {
//    //1 .添加蒙版
//    UIButton *cover = [[UIButton alloc]initWithFrame:self.view.frame];
//    cover.backgroundColor = [UIColor colorWithWhite:0.0 alpha:0.1];
//    [self.view addSubview:cover];
//    [cover addTarget:self action:@selector(cover_Clicked:) forControlEvents:UIControlEventTouchDragInside];
//
//    //2.将图像按钮弄到最前面 :
//    [self.view bringSubviewToFront:cover];
//
//    //3.放大图片 :
//
//    [UIView animateWithDuration:1.0 animations:^{
//        self.icon_Image_Button.transform = CGAffineTransformMakeScale(1.25, 1.25);
//    } completion:^(BOOL finished) {
//
//    }];
//}
//
//-(void)cover_Clicked:(UIButton *)cover_Button{
//    [UIView animateWithDuration:1.0 animations:^{
//        self.icon_Image_Button.transform = CGAffineTransformScale(self.icon_Image_Button.transform, 1.0, 1.0);
//    } completion:^(BOOL finished) {
//
//        [cover_Button removeFromSuperview];
//
//    }];
//}

-(UIStatusBarStyle)preferredStatusBarStyle{
    return UIStatusBarStyleLightContent ;
}



@end
